<template>
    <div class="main">
        <span>{{welcomemsg}}</span>
    </div>
</template>

<script>
    import api from '../api'
    export default {
        name: "welcome",
        data(){
            return {
                welcomemsg:''
            }
        },
        created(){
            this.welcomemsg = api.getWelcomeMsg()||'创维服务部欢迎您';
        }
    }
</script>

<style lang="less" scoped>
    .main{
        display: flex;
        height: 100%;
        align-items: center;
        justify-content: space-around;
        padding: 0 20%;
        span{
            color: #c4f3fd;
            font-size: 52px;
            line-height: 1.4;
        }
    }
</style>
